package com.bruce.service;


import com.bruce.model.Permission;
import com.bruce.model.RolePermission;
import com.github.pagehelper.PageInfo;

public interface RolePermissionService {
	int insert(RolePermission impl); 

	int update(RolePermission impl); 

	PageInfo<RolePermission> selectByRid(RolePermission impl, int pageNum, int pageSize);
	
	int delete(int rid, int pid);
	
	PageInfo<Permission> permissionsByRid(int rid, int pageNum, int pageSize);
	
	int deleteByRid(int rid);
}
